SAP Gateway

In case of this specific error:

SAP.Middleware.Connector.RfcCommunicationException: Connection parameter GATEWAY_HOST missing.

 

Add the gateway hostname and gateway service to the Logical system connection attributes.

 

How to find the Gateway hostname and the Gateway service?